package com.example.demo.model;

import lombok.Data;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: fzykd
 * Date: 2022-10-06
 * Time: 21:02
 */

@Data
//这个对应数据库里的表

//普通的实体类
public class UserInfo {
    private Integer id;
    private String name;
    private String password;
    private String photo;
    private String createtime;
    private String updatetime;
    private int state;
    //一对多查询
    private List<ArticleInfo> artlist;
}
